﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VDS.RDF;

namespace CoreVirtuoso.Helpers
{
   public static class DictionaryHelper
   {
      public static void Add(Dictionary<string, List<INode>> dictionary, string key, INode value)
      {
         if (!dictionary.ContainsKey(key))
            dictionary[key] = new List<INode>();

         dictionary[key].Add(value);
      }
   }
}